﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D87 RID: 3463
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PunkLordMonsterKilledNotify : IMessage<PunkLordMonsterKilledNotify>, IMessage, IEquatable<PunkLordMonsterKilledNotify>, IDeepCloneable<PunkLordMonsterKilledNotify>, IBufferMessage
	{
		// Token: 0x17002BF5 RID: 11253
		// (get) Token: 0x06009B6A RID: 39786 RVA: 0x0019F887 File Offset: 0x0019DA87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PunkLordMonsterKilledNotify> Parser
		{
			get
			{
				return PunkLordMonsterKilledNotify._parser;
			}
		}

		// Token: 0x17002BF6 RID: 11254
		// (get) Token: 0x06009B6B RID: 39787 RVA: 0x0019F88E File Offset: 0x0019DA8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PunkLordMonsterKilledNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002BF7 RID: 11255
		// (get) Token: 0x06009B6C RID: 39788 RVA: 0x0019F8A0 File Offset: 0x0019DAA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PunkLordMonsterKilledNotify.Descriptor;
			}
		}

		// Token: 0x06009B6D RID: 39789 RVA: 0x0019F8A7 File Offset: 0x0019DAA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterKilledNotify()
		{
		}

		// Token: 0x06009B6E RID: 39790 RVA: 0x0019F8AF File Offset: 0x0019DAAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterKilledNotify(PunkLordMonsterKilledNotify other) : this()
		{
			this.hKPDODNKHOP_ = ((other.hKPDODNKHOP_ != null) ? other.hKPDODNKHOP_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009B6F RID: 39791 RVA: 0x0019F8E4 File Offset: 0x0019DAE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterKilledNotify Clone()
		{
			return new PunkLordMonsterKilledNotify(this);
		}

		// Token: 0x17002BF8 RID: 11256
		// (get) Token: 0x06009B70 RID: 39792 RVA: 0x0019F8EC File Offset: 0x0019DAEC
		// (set) Token: 0x06009B71 RID: 39793 RVA: 0x0019F8F4 File Offset: 0x0019DAF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KilledPunkLordMonsterInfo HKPDODNKHOP
		{
			get
			{
				return this.hKPDODNKHOP_;
			}
			set
			{
				this.hKPDODNKHOP_ = value;
			}
		}

		// Token: 0x06009B72 RID: 39794 RVA: 0x0019F8FD File Offset: 0x0019DAFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PunkLordMonsterKilledNotify);
		}

		// Token: 0x06009B73 RID: 39795 RVA: 0x0019F90B File Offset: 0x0019DB0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PunkLordMonsterKilledNotify other)
		{
			return other != null && (other == this || (object.Equals(this.HKPDODNKHOP, other.HKPDODNKHOP) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009B74 RID: 39796 RVA: 0x0019F940 File Offset: 0x0019DB40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.hKPDODNKHOP_ != null)
			{
				num ^= this.HKPDODNKHOP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009B75 RID: 39797 RVA: 0x0019F97C File Offset: 0x0019DB7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009B76 RID: 39798 RVA: 0x0019F984 File Offset: 0x0019DB84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009B77 RID: 39799 RVA: 0x0019F98D File Offset: 0x0019DB8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.hKPDODNKHOP_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.HKPDODNKHOP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009B78 RID: 39800 RVA: 0x0019F9C0 File Offset: 0x0019DBC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.hKPDODNKHOP_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HKPDODNKHOP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009B79 RID: 39801 RVA: 0x0019FA00 File Offset: 0x0019DC00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PunkLordMonsterKilledNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.hKPDODNKHOP_ != null)
			{
				if (this.hKPDODNKHOP_ == null)
				{
					this.HKPDODNKHOP = new KilledPunkLordMonsterInfo();
				}
				this.HKPDODNKHOP.MergeFrom(other.HKPDODNKHOP);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009B7A RID: 39802 RVA: 0x0019FA54 File Offset: 0x0019DC54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009B7B RID: 39803 RVA: 0x0019FA60 File Offset: 0x0019DC60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.hKPDODNKHOP_ == null)
					{
						this.HKPDODNKHOP = new KilledPunkLordMonsterInfo();
					}
					input.ReadMessage(this.HKPDODNKHOP);
				}
			}
		}

		// Token: 0x04003BEB RID: 15339
		private static readonly MessageParser<PunkLordMonsterKilledNotify> _parser = new MessageParser<PunkLordMonsterKilledNotify>(() => new PunkLordMonsterKilledNotify());

		// Token: 0x04003BEC RID: 15340
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003BED RID: 15341
		public const int HKPDODNKHOPFieldNumber = 9;

		// Token: 0x04003BEE RID: 15342
		private KilledPunkLordMonsterInfo hKPDODNKHOP_;
	}
}
